<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<div style="margin: 15% 40%;">
    <h1>注册</h1>
    <form action="/user/register/" method="post">
        {% csrf_token %}
        <p>
            {{ r_form.user_name.label }}: {{ r_form.user_name }}
        </p>
        <p>
            {{ r_form.password1.label }}: {{ r_form.password1 }}
        </p>
        <p>
            {{ r_form.password2.label }}: {{ r_form.password2 }}
        </p>
        <p>
            {{ r_form.email.label }}: {{ r_form.email }}
        </p>

        <input type="submit" value="确定">
    </form>
    <p>{{ result }}</p>
</div>
</body>
</html>